<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>16.iteator迭代器</title>
</head>
<body>

<script>
  let arr1 = ['a','b','c','d']
  let iterator = arr1[Symbol.iterator]()
  console.log(iterator.next())
  console.log(iterator.next())
  console.log(iterator.next())
  console.log(iterator.next())
</script>

</body>
</html>